using System;
using System.Collections.Generic;
using System.Text;

namespace RaisingStudio.Data.Common
{
    public interface ICommonDatabase
    {
        int ExecuteNonQueryCommand(CommonCommand commonCommand);
        int ExecuteNonQueryCommand(CommonCommand commonCommand, string transactionID);

        System.Data.IDataReader ExecuteReaderCommand(CommonCommand commonCommand);
        System.Data.IDataReader ExecuteReaderCommand(CommonCommand commonCommand, string transactionID);

        object ExecuteScalarCommand(CommonCommand commonCommand);
        object ExecuteScalarCommand(CommonCommand commonCommand, string transactionID);
    }
}
